From: Mathieu Malaterre Date: Thu, 20 May 2021 09:24:10 +0000 (+0200) Subject: d/rules: Prefer stdlibc (iconv) setting over ICU X-Git-Tag: archive/raspbian/3.6.9-4+rpi1^2~130 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=666129093bee6d907ef763324835209e4416ff10;p=dcmtk.git d/rules: Prefer stdlibc (iconv) setting over ICU Reduce the number of dependencies by removing usage of ICU, since stdlibc (iconv) can be used directly from the libc.6. DCMTK currently recommend usage of libiconv for support of all CharacterSet as found in DICOM. Since libiconv is not provided in Debian, fallback to reduced support of CharacterSet from stdlib (iconv). See discussion at Bug #988644#25 --- diff --git a/debian/rules b/debian/rules index 1920e1ca..210cd878 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,7 @@ CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=None \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_INSTALL_DATADIC:STRING=share/libdcmtk16 \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ + -DDCMTK_ENABLE_CHARSET_CONVERSION:STRING='stdlibc (iconv)' \ -DCMAKE_CXX_STANDARD:STRING=14 override_dh_auto_configure: